﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core.Base;
using Core.Component;

namespace Components
{
    public delegate void NotifyToolStripChanged(Object sender, StringEventArgs e);
    public class StringEventArgs : EventArgs
    {
        String Tag;
        public StringEventArgs(String _tag)
            : base()
        {
            Tag = _tag;
        }
    }
    public interface ISGVControl
    {
        UIComponent Serialize();

        void Deserialize(UIComponent component);

        UIComponent component
        {
            set;
            get;
        }

        String SGVTag
        {
            set;
            get;
        }

        String SGVShortcutString
        {
            set;
            get;
        }

        void RegisterModule(BaseModule module);

        void UpdateFormat();

        void Init();
    }
}
